import {API} from '@/utils/axios'

export const createCompany = (params: any) => {
    return API.post('/api/add/companies', params)
}

export const listCompany = (params: any) => {
    return API.get('/api/list/companies', params)
}

export const getCompany = (params: any) => {
    return API.get(`/api/info/companies/${params.id}`)
}

